package oop2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class TestMaker {
    public static void main(String[] args) {
        //Scanner in=new Scanner(System.in);
        //int x=in.nextInt();
        JuiceMaker m=new JuiceMaker();
        m.brand="九阳";
        m.color="橙黄";
        m.watt=60;
        m.show();
        String fr="猕猴桃";
        String rtn=m.makeJuice(fr);//接受方法返回的结果
        System.out.println("喝到了"+rtn);
        fr="苹果";
        String rtn2=m.makeJuice(fr);
        System.out.println("喝到了"+rtn2);
        System.out.println(">>>>>>>>>>>>>>>>>>>");
        m.makeJuice("梨子");

        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>");
        String r3 = m.makeJuice2("柠檬", "香蕉");
        System.out.println(r3);
    }
}
